import service from '@/utils/request'
// @Tags A规格设置
// @Summary 创建规格设置
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.A规格设置 true "创建规格设置"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /guigeshezhi/createA规格设置 [post]
export const createA规格设置 = (data) => {
  return service({
    url: '/guigeshezhi/createA规格设置',
    method: 'post',
    data
  })
}

// @Tags A规格设置
// @Summary 删除规格设置
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.A规格设置 true "删除规格设置"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /guigeshezhi/deleteA规格设置 [delete]
export const deleteA规格设置 = (params) => {
  return service({
    url: '/guigeshezhi/deleteA规格设置',
    method: 'delete',
    params
  })
}

// @Tags A规格设置
// @Summary 批量删除规格设置
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除规格设置"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /guigeshezhi/deleteA规格设置 [delete]
export const deleteA规格设置ByIds = (params) => {
  return service({
    url: '/guigeshezhi/deleteA规格设置ByIds',
    method: 'delete',
    params
  })
}

// @Tags A规格设置
// @Summary 更新规格设置
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.A规格设置 true "更新规格设置"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /guigeshezhi/updateA规格设置 [put]
export const updateA规格设置 = (data) => {
  return service({
    url: '/guigeshezhi/updateA规格设置',
    method: 'put',
    data
  })
}

// @Tags A规格设置
// @Summary 用id查询规格设置
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.A规格设置 true "用id查询规格设置"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /guigeshezhi/findA规格设置 [get]
export const findA规格设置 = (params) => {
  return service({
    url: '/guigeshezhi/findA规格设置',
    method: 'get',
    params
  })
}

// @Tags A规格设置
// @Summary 分页获取规格设置列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取规格设置列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /guigeshezhi/getA规格设置List [get]
export const getA规格设置List = (params) => {
  return service({
    url: '/guigeshezhi/getA规格设置List',
    method: 'get',
    params
  })
}
// @Tags A规格设置
// @Summary 不需要鉴权的规格设置接口
// @accept application/json
// @Produce application/json
// @Param data query request.A规格设置Search true "分页获取规格设置列表"
// @Success 200 {object} response.Response{data=object,msg=string} "获取成功"
// @Router /guigeshezhi/getA规格设置Public [get]
export const getA规格设置Public = () => {
  return service({
    url: '/guigeshezhi/getA规格设置Public',
    method: 'get',
  })
}